\documentclass[12pt, landscape]{article}
\title{Tree Output}
\date{\today}
\usepackage[a0paper, vmargin=2cm, hmargin=2cm]{geometry}
\usepackage{lingmacros}
\usepackage{tikz}
\usepackage{tikz-qtree}
\usetikzlibrary{arrows,positioning,shapes}
\tikzset{
	%Define standard arrow tip
	>=stealth',
	%Define DS link style
	link/.style={
		<-,
		thick,
		dotted,},
	%Define DS token style
	token/.style={
		rectangle split,
		rectangle split parts=2,}
}
\usepackage{gb4e}
\begin{document}
\tikzstyle{every picture}+=[remember picture]
\maketitle
\begin{enumerate}
\begin{item}
Example id='Negation-PS-3'
\begin{itemize}
\begin{item}[]
\shortex{7}{AwiPZa&monA&ko&xiKA&rahA&WA&nahIM}{Atif&Mona&Acc&see&Prog&be.Pst&Neg}{Atif wasn't looking at Mona.}
\end{item}
\begin{item}[]
\begin{tikzpicture}[sibling distance=48pt, level distance=24pt]
\Tree
[.\node{VP{\scriptsize (xiKA)}};
[.\node{VP{\scriptsize (xiKA)}};
[.\node{VP{\scriptsize (xiKA)}};
[.\node{NP{\scriptsize (AwiPZa)}};
[.\node{N-Prop{\scriptsize (AwiPZa)}};
\node[token](AwiPZa){AwiPZa\nodepart{second}NNP};
]
]
[.\node{VP-Pred{\scriptsize (xiKA)}};
[.\node{NP-P{\scriptsize (monA)}};
[.\node{NP{\scriptsize (monA)}};
[.\node{N-Prop{\scriptsize (monA)}};
\node[token](monA){monA\nodepart{second}NNP};
]
]
[.\node{P{\scriptsize (ko)}};
\node[token](ko){ko\nodepart{second}PSP};
]
]
[.\node{V{\scriptsize (xiKA)}};
\node[token](xiKA){xiKA\nodepart{second}VM};
]
]
]
[.\node{V-Aux{\scriptsize (rahA)}};
\node[token](rahA){rahA\nodepart{second}VAUX};
]
]
[.\node{V-Aux{\scriptsize (nahIM|WA)}};
[.\node{V-Aux{\scriptsize (WA)}};
\node[token](WA){WA\nodepart{second}VAUX};
]
[.\node{Neg{\scriptsize (nahIM)}};
\node[token](nahIM){nahIM\nodepart{second}NEG};
]
]
]
\path[link] (AwiPZa.south) edge[bend right=48] node[pos=0.30,fill=white,sloped] {\scriptsize {k1}} (xiKA);
\path[link] (monA.south) edge[bend right=40] node[pos=0.40,fill=white,sloped] {\scriptsize {k4}} (xiKA);
\path[link] (ko.south) edge[bend left=32] node[pos=0.50,fill=white,sloped] {\scriptsize {lwg\_\_psp}} (monA);
\node[below=of xiKA](root){\bf root};
\path[link] (xiKA) edge (root);
\path[link] (rahA.south) edge[bend left=32] node[pos=0.50,fill=white,sloped] {\scriptsize {lwg\_\_vaux}} (xiKA);
\path[link] (WA.south) edge[bend left=40] node[pos=0.40,fill=white,sloped] {\scriptsize {lwg\_\_cont}} (xiKA);
\path[link] (nahIM.south) edge[bend left=48] node[pos=0.30,fill=white,sloped] {\scriptsize {fragof}} (xiKA);
\end{tikzpicture}
\end{item}
\end{itemize}
\end{item}
\begin{item}
Example id='Structure-of-PP-PS-4'
\begin{itemize}
\begin{item}[]
IGT is not available for this example.
\end{item}
\begin{item}[]
\begin{tikzpicture}[sibling distance=48pt, level distance=24pt]
\Tree
[.\node{NP-P{\scriptsize (ladZakoM)}};
[.\node{NP-P{\scriptsize (ladZakoM)}};
[.\node{NP{\scriptsize (Ora|ladZakoM)}};
[.\node{NP{\scriptsize (ladZakiyoM)}};
[.\node{N{\scriptsize (ladZakiyoM)}};
\node[token](ladZakiyoM){ladZakiyoM\nodepart{second}NNP};
]
]
[.\node{NP-CC{\scriptsize (Ora|ladZakoM)}};
[.\node{CC{\scriptsize (Ora)}};
\node[token](Ora){Ora\nodepart{second}CC};
]
[.\node{NP{\scriptsize (ladZakoM)}};
[.\node{N{\scriptsize (ladZakoM)}};
\node[token](ladZakoM){ladZakoM\nodepart{second}NN};
]
]
]
]
[.\node{P{\scriptsize (ne)}};
\node[token](ne){ne\nodepart{second}PSP};
]
]
[.\node{Foc{\scriptsize (BI)}};
\node[token](BI){BI\nodepart{second}RP};
]
]
\path[link] (ladZakiyoM.south) edge[bend right=32] node[pos=0.50,fill=white,sloped] {\scriptsize {ccof}} (Ora);
\node[below=of Ora](root){\bf root};
\path[link] (Ora) edge (root);
\path[link] (ladZakoM.south) edge[bend left=32] node[pos=0.50,fill=white,sloped] {\scriptsize {ccof}} (Ora);
\path[link] (ne.south) edge[bend left=32] node[pos=0.50,fill=white,sloped] {\scriptsize {lwg\_\_psp}} (ladZakoM);
\path[link] (BI.south) edge[bend left=40] node[pos=0.40,fill=white,sloped] {\scriptsize {lwg\_\_rp}} (ladZakoM);
\end{tikzpicture}
\end{item}
\end{itemize}
\end{item}
\begin{item}
Example id='Structure-of-PP-PS-2'
\begin{itemize}
\begin{item}[]
\shortex{4}{rAma&Ora&rameSa&ne}{Ram&and&Ramesh&Erg}{Ram and Ramesh}
\end{item}
\begin{item}[]
\begin{tikzpicture}[sibling distance=48pt, level distance=24pt]
\Tree
[.\node{NP-P{\scriptsize (rameSa)}};
[.\node{NP{\scriptsize (rameSa|Ora)}};
[.\node{NP{\scriptsize (rAma)}};
[.\node{N-Prop{\scriptsize (rAma)}};
\node[token](rAma){rAma\nodepart{second}NNP};
]
]
[.\node{NP-CC{\scriptsize (rameSa|Ora)}};
[.\node{CC{\scriptsize (Ora)}};
\node[token](Ora){Ora\nodepart{second}CC};
]
[.\node{NP{\scriptsize (rameSa)}};
[.\node{N-Prop{\scriptsize (rameSa)}};
\node[token](rameSa){rameSa\nodepart{second}NNP};
]
]
]
]
[.\node{P{\scriptsize (ne)}};
\node[token](ne){ne\nodepart{second}PSP};
]
]
\path[link] (rAma.south) edge[bend right=32] node[pos=0.50,fill=white,sloped] {\scriptsize {ccof}} (Ora);
\node[below=of Ora](root){\bf root};
\path[link] (Ora) edge (root);
\path[link] (rameSa.south) edge[bend left=32] node[pos=0.50,fill=white,sloped] {\scriptsize {ccof}} (Ora);
\path[link] (ne.south) edge[bend left=32] node[pos=0.50,fill=white,sloped] {\scriptsize {lwg\_\_psp}} (rameSa);
\end{tikzpicture}
\end{item}
\end{itemize}
\end{item}
\end{enumerate}
\end{document}
